<template>
  <div>
    <Count :num='2'/>
    <h2>这个count每次加2</h2>
    <br>
    <Count :num='3'/>
  <h2>这个count每次加3</h2>
   
    <hr>
    
    <MyHeader v-bind="person"/>
  </div>
</template>

<script>
import Count from './components/Count';
import MyHeader from './components/MyHeader';
export default {
name:'App',
data(){
  return {
    person:{
      name:'laoli',
      age:18,
      sex:'nan'
    }
  }
},
components:{
Count,
MyHeader
},
methods:{
  getadd(){
   
    console.log(this);
    
  }
}
}
</script>

<style scoped>

</style>